package top.huhuiyu.springboot3.service;

import top.huhuiyu.springboot3.base.R;
import top.huhuiyu.springboot3.entity.user.TbUser;
import top.huhuiyu.springboot3.vo.UserAuth;
import top.huhuiyu.springboot3.vo.UserPwd;

public interface AuthService {
    R<String> updatePwd(UserPwd user);

    R<String> reg(UserAuth user);

    boolean checkAuth();

    TbUser queryByName(String username);

    R<TbUser> login(UserAuth user);

    R<TbUser> queryLoginInfo();

    R<String> logout();
}
